﻿

using hCommand;
using System;
using System.Collections.Generic;
namespace Controller.i18n.entity {
    [Serializable]

    public class TaskAgv :BaseTask {
        public List<Estimate> list;
        public byte agvId {
            get; set;
        }
        public int rollerType {
            get; set;
        }
        public int angle {
            get; set;
        }



        public override List<string> getLableData() {
            List<String> list = new List<string>();
            list.Add(extra);
            list.Add("起点：" + src);
            list.Add("终点：" + des);
            return list;
        }

        public override void init(CoreTask complete ,CoreTaskParam p ,TaskDto taskDto,List<TaskDto> keyList) {
           
            extra = "Rgv任务 " + complete.boxCode + "path:" + p.src + "-->" + p.des;
            rollerType = ( int ) RollerWidth.未知;

        }

        public enum RollerWidth {
            未知 = 0, 窄轨道 = 1, 宽轨道 = 2, 横板道 = 3
        }
    }
}
